package com.bank.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoanTransaction {
    private Long transactionId;
    private Long accountId;
    private BigDecimal amount;
    private BigDecimal balance;
    private Integer loanType;
    private LocalDateTime loanTime;
    private LocalDateTime repayTime;
    private String remark;
}
